package com.cy.teducommunitys.com.cy.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 主帖
 * </p>
 *
 * @author mdzz
 * @since 2019-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Topic extends BaseEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("topicId")
    private Integer topicId;

    @TableField("sectionId")
    private Integer sectionId;

    @TableField("userId")
    private Integer userId;

    private String title;

    private String content;

    private String label;

    @TableField("clickCount")
    private Integer clickCount;

    @TableField("replyCount")
    private Integer replyCount;

    @TableField("lastClickTime")
    private Date lastClickTime;

}
